package org.wmsafe.service.impl;

import org.springframework.stereotype.Service;
import org.wmsafe.mapper.FooterLinkMapper;
import org.wmsafe.pojo.FooterLink;
import org.wmsafe.service.FooterLinkService;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FooterLinkServiceImpl implements FooterLinkService {

    @Resource
    FooterLinkMapper footerLinkMapper;

    @Override
    public void setFooterLinkMapper(FooterLinkMapper footerLinkMapper) {
        this.footerLinkMapper = footerLinkMapper;
    }

    @Override
    public List<FooterLink> list() {
        return footerLinkMapper.list();
    }
}
